package com.pearadmin.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import com.pearadmin.system.domain.ReportAssessmentRationality;

/**
 * 考核合理性审核Mapper接口
 *
 * @author jmys
 * @date 2021-04-12
 */
@Mapper
public interface ReportAssessmentRationalityMapper
{
    /**
     * 查询考核合理性审核
     *
     * @param id 考核合理性审核ID
     * @return 考核合理性审核
     */
    public ReportAssessmentRationality selectReportAssessmentRationalityById(Long id);

    /**
     * 查询考核合理性审核列表
     *
     * @param reportAssessmentRationality 考核合理性审核
     * @return 考核合理性审核集合
     */
    List<ReportAssessmentRationality> selectReportAssessmentRationalityList(ReportAssessmentRationality reportAssessmentRationality);

    /**
     * 新增考核合理性审核
     *
     * @param reportAssessmentRationality 考核合理性审核
     * @return 结果
     */
    int insertReportAssessmentRationality(ReportAssessmentRationality reportAssessmentRationality);

    /**
     * 修改考核合理性审核
     *
     * @param reportAssessmentRationality 考核合理性审核
     * @return 结果
     */
    int updateReportAssessmentRationality(ReportAssessmentRationality reportAssessmentRationality);

    /**
     * 删除考核合理性审核
     *
     * @param id 考核合理性审核ID
     * @return 结果
     */
    int deleteReportAssessmentRationalityById(Long id);

    /**
     * 批量删除考核合理性审核
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteReportAssessmentRationalityByIds(String[] ids);

    ReportAssessmentRationality selectByReportId(long reportId);

    int deleteByReportId(long reportId);
}
